package com.ruoyi.activiti.listener;

import com.ruoyi.framework.web.domain.server.Sys;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.impl.persistence.entity.ExecutionEntityImpl;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

/**
 * 请假会签任务监听器，当会签任务完成时统计同意的数量
 *
 * @author henryyan
 */
@Service

public class MultipartResolveUsers{
    public List<String> resolveUserList(String userList) {
        String[] split = userList.split(",");
        return Arrays.asList(split);
    }
}
